package com.bookmanger.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bookmanger.common.result.Result;
import com.bookmanger.entity.Manager;
import com.bookmanger.entity.dto.AddMangerDTO;
import com.bookmanger.entity.dto.ManagerDTO;
import com.bookmanger.entity.select.ManagerListDto;
import com.bookmanger.entity.vo.ListForm;
import com.bookmanger.entity.vo.managerListVo;

/**
 * @author huangfuhao
 * @Date 2024/10/26
 */
public interface ManagerService extends IService<Manager> {
    Result<ManagerDTO> login(Manager manager);

    Result<ListForm<managerListVo>> getManagerList(ManagerListDto userListDto);

    Result managerDisable(Long id);

    Result managerEnable(Long id);

    Result addManager(AddMangerDTO addMangerDTO);
}
